import { createStore } from 'vuex'

const store = createStore({
	state() {
		return{
			user:{
				uname:null,
				role:null,
				pic:null,
				token:null
			},
			errmsg :'提示信息 ....',
			erropen:true,
		}
	}
})

export default store;
